<?php

namespace App\Http\Controllers;

use Illuminate\Support\Facades\DB;

class User extends Admin
{
    public function index()
    {
        $list = DB::table('admin_user')->paginate(1);

        return view('admin.user.index', ['list' => $list]);
    }

    public function add()
    {
        return view('admin.user.add');
    }

    public function edit()
    {
        return view('admin.user.edit');
    }
}
